package com.pcj.controller;

import com.pcj.service.CoverService;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;

/**
 * @author lei.xiang
 * @date 2025/4/3 13:08
 */
@RestController
@RequestMapping("/cover")
public class CoverController {

    @Resource
    private CoverService coverService;

    @PostMapping("/oneTable")
    public void coverOneTable(@RequestParam("tableName") String tableName,
                              @RequestParam("filedName") String fieldName) {
        coverService.oneTable(tableName, fieldName);
    }

}
